.class public Lcom/baidu/AppActivity;
.super Landroid/app/Activity;


# static fields
.field private static final a:Ljava/lang/String;

.field private static b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/baidu/App;",
            ">;"
        }
    .end annotation
.end field

.field private static s:Landroid/graphics/drawable/BitmapDrawable;

.field private static t:Landroid/graphics/drawable/BitmapDrawable;

.field private static u:Landroid/graphics/drawable/BitmapDrawable;


# instance fields
.field private c:Lcom/baidu/App;

.field private d:Landroid/os/Handler;

.field private e:Landroid/app/ProgressDialog;

.field private f:Z

.field private g:Landroid/widget/ScrollView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/TextView;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/TextView;

.field private l:Landroid/widget/ImageView;

.field private m:Landroid/widget/Button;

.field private n:Landroid/widget/TextView;

.field private o:Landroid/widget/HorizontalScrollView;

.field private p:Landroid/widget/LinearLayout;

.field private q:Landroid/widget/LinearLayout;

.field private r:Landroid/widget/ImageView;


# direct methods
.method static constructor <clinit>()V
    .locals 9

    const/4 v8, 0x2

    const/4 v7, 0x1

    const/4 v6, 0x0

    const-class v0, Lcom/baidu/AppActivity;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/baidu/AppActivity;->a:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    sput-object v0, Lcom/baidu/AppActivity;->b:Ljava/util/List;

    sget-object v0, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;

    invoke-static {v7, v7, v0}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v0

    const v1, -0x60607

    invoke-virtual {v0, v6, v6, v1}, Landroid/graphics/Bitmap;->setPixel(III)V

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

    sput-object v1, Lcom/baidu/AppActivity;->s:Landroid/graphics/drawable/BitmapDrawable;

    new-instance v0, Landroid/graphics/Rect;

    const/16 v1, 0x1b

    invoke-direct {v0, v6, v6, v7, v1}, Landroid/graphics/Rect;-><init>(IIII)V

    invoke-virtual {v0}, Landroid/graphics/Rect;->width()I

    move-result v1

    invoke-virtual {v0}, Landroid/graphics/Rect;->height()I

    move-result v2

    sget-object v3, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-static {v1, v2, v3}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v1

    new-instance v2, Landroid/graphics/Canvas;

    invoke-direct {v2, v1}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    new-instance v3, Landroid/graphics/drawable/GradientDrawable;

    sget-object v4, Landroid/graphics/drawable/GradientDrawable$Orientation;->TOP_BOTTOM:Landroid/graphics/drawable/GradientDrawable$Orientation;

    new-array v5, v8, [I

    fill-array-data v5, :array_0

    invoke-direct {v3, v4, v5}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V

    invoke-virtual {v3, v0}, Landroid/graphics/drawable/GradientDrawable;->setBounds(Landroid/graphics/Rect;)V

    invoke-virtual {v3, v2}, Landroid/graphics/drawable/GradientDrawable;->draw(Landroid/graphics/Canvas;)V

    new-instance v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v0, v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

    sput-object v0, Lcom/baidu/AppActivity;->t:Landroid/graphics/drawable/BitmapDrawable;

    new-instance v0, Landroid/graphics/Rect;

    const/16 v1, 0x17

    invoke-direct {v0, v6, v6, v7, v1}, Landroid/graphics/Rect;-><init>(IIII)V

    invoke-virtual {v0}, Landroid/graphics/Rect;->width()I

    move-result v1

    invoke-virtual {v0}, Landroid/graphics/Rect;->height()I

    move-result v2

    sget-object v3, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-static {v1, v2, v3}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v1

    const v2, -0x262627

    invoke-virtual {v1, v6, v6, v2}, Landroid/graphics/Bitmap;->setPixel(III)V

    iget v2, v0, Landroid/graphics/Rect;->bottom:I

    sub-int/2addr v2, v8

    const v3, -0x1e1e1f

    invoke-virtual {v1, v6, v2, v3}, Landroid/graphics/Bitmap;->setPixel(III)V

    iget v2, v0, Landroid/graphics/Rect;->bottom:I

    sub-int/2addr v2, v7

    const v3, -0x484849

    invoke-virtual {v1, v6, v2, v3}, Landroid/graphics/Bitmap;->setPixel(III)V

    new-instance v2, Landroid/graphics/Canvas;

    invoke-direct {v2, v1}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    new-instance v3, Landroid/graphics/drawable/GradientDrawable;

    sget-object v4, Landroid/graphics/drawable/GradientDrawable$Orientation;->TOP_BOTTOM:Landroid/graphics/drawable/GradientDrawable$Orientation;

    new-array v5, v8, [I

    fill-array-data v5, :array_1

    invoke-direct {v3, v4, v5}, Landroid/graphics/drawable/GradientDrawable;-><init>(Landroid/graphics/drawable/GradientDrawable$Orientation;[I)V

    iget v4, v0, Landroid/graphics/Rect;->left:I

    iget v5, v0, Landroid/graphics/Rect;->right:I

    iget v0, v0, Landroid/graphics/Rect;->bottom:I

    sub-int/2addr v0, v8

    invoke-virtual {v3, v4, v7, v5, v0}, Landroid/graphics/drawable/GradientDrawable;->setBounds(IIII)V

    invoke-virtual {v3, v2}, Landroid/graphics/drawable/GradientDrawable;->draw(Landroid/graphics/Canvas;)V

    new-instance v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v0, v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

    sput-object v0, Lcom/baidu/AppActivity;->u:Landroid/graphics/drawable/BitmapDrawable;

    return-void

    nop

    :array_0
    .array-data 0x4
        0xdft 0xdft 0xdft 0xfft
        0xf9t 0xf9t 0xf9t 0xfft
    .end array-data

    :array_1
    .array-data 0x4
        0xb3t 0xb3t 0xb3t 0xfft
        0xe1t 0xe1t 0xe1t 0xfft
    .end array-data
.end method

.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/baidu/AppActivity;->d:Landroid/os/Handler;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/baidu/AppActivity;->f:Z

    return-void
.end method

.method static synthetic a(Lcom/baidu/AppActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->l:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic a(Lcom/baidu/AppActivity;Lcom/baidu/App;)Lcom/baidu/App;
    .locals 0

    iput-object p1, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    return-object p1
.end method

.method static synthetic a()Ljava/util/List;
    .locals 1

    sget-object v0, Lcom/baidu/AppActivity;->b:Ljava/util/List;

    return-object v0
.end method

.method static synthetic a(Lcom/baidu/AppActivity;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/baidu/AppActivity;->a(Z)V

    return-void
.end method

.method private a(Z)V
    .locals 2

    iget-object v0, p0, Lcom/baidu/AppActivity;->d:Landroid/os/Handler;

    new-instance v1, Lcom/baidu/aq;

    invoke-direct {v1, p0, p1}, Lcom/baidu/aq;-><init>(Lcom/baidu/AppActivity;Z)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method static synthetic b(Lcom/baidu/AppActivity;)Lcom/baidu/App;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    return-object v0
.end method

.method static synthetic b(Lcom/baidu/AppActivity;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/baidu/AppActivity;->b(Z)V

    return-void
.end method

.method private b(Z)V
    .locals 1

    iput-boolean p1, p0, Lcom/baidu/AppActivity;->f:Z

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/baidu/AppActivity;->g:Landroid/widget/ScrollView;

    invoke-virtual {p0, v0}, Lcom/baidu/AppActivity;->setContentView(Landroid/view/View;)V

    const-string v0, "\u5e94\u7528\u8be6\u60c5\u67e5\u770b"

    invoke-virtual {p0, v0}, Lcom/baidu/AppActivity;->setTitle(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/baidu/AppActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v0}, Lcom/baidu/AppActivity;->setContentView(Landroid/view/View;)V

    const-string v0, "\u5e94\u7528\u622a\u56fe\u67e5\u770b"

    invoke-virtual {p0, v0}, Lcom/baidu/AppActivity;->setTitle(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method private b()Z
    .locals 1

    iget-boolean v0, p0, Lcom/baidu/AppActivity;->f:Z

    return v0
.end method

.method private c()V
    .locals 10

    const/4 v9, 0x0

    const/4 v0, 0x0

    invoke-virtual {p0}, Lcom/baidu/AppActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "limg"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1

    invoke-static {v9, p0, v1}, Lcom/baidu/w;->d(ZLandroid/content/Context;Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v0

    move-object v6, v0

    :goto_0
    invoke-virtual {p0}, Lcom/baidu/AppActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "clklogurl"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0}, Lcom/baidu/AppActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "surl"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0}, Lcom/baidu/AppActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string v3, "tit"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {p0}, Lcom/baidu/AppActivity;->getIntent()Landroid/content/Intent;

    move-result-object v4

    const-string v5, "ad_charge"

    const-wide/16 v7, 0x0

    invoke-virtual {v4, v5, v7, v8}, Landroid/content/Intent;->getLongExtra(Ljava/lang/String;J)J

    move-result-wide v4

    invoke-static/range {v0 .. v6}, Lcom/baidu/App;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JLandroid/graphics/Bitmap;)Lcom/baidu/App;

    move-result-object v0

    iput-object v0, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    sget-object v0, Lcom/baidu/AppActivity;->b:Ljava/util/List;

    iget-object v1, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/baidu/AppActivity;->b:Ljava/util/List;

    sget-object v1, Lcom/baidu/AppActivity;->b:Ljava/util/List;

    iget-object v2, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    invoke-interface {v1, v2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/baidu/App;

    iput-object v0, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    invoke-direct {p0, v9}, Lcom/baidu/AppActivity;->a(Z)V

    :goto_1
    return-void

    :cond_0
    new-instance v0, Lcom/baidu/ah;

    invoke-direct {v0, p0, p0}, Lcom/baidu/ah;-><init>(Lcom/baidu/AppActivity;Landroid/app/Activity;)V

    invoke-virtual {v0}, Lcom/baidu/ah;->start()V

    goto :goto_1

    :cond_1
    move-object v6, v0

    goto :goto_0
.end method

.method static synthetic c(Lcom/baidu/AppActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/baidu/AppActivity;->d()V

    return-void
.end method

.method static synthetic d(Lcom/baidu/AppActivity;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->d:Landroid/os/Handler;

    return-object v0
.end method

.method private d()V
    .locals 3

    const-string v0, "setApp"

    iget-object v1, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    invoke-virtual {v1}, Lcom/baidu/App;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/baidu/bk;->b(Ljava/lang/String;Ljava/lang/String;)I

    iget-object v0, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    invoke-virtual {v0}, Lcom/baidu/App;->n()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-static {}, Lcom/baidu/as;->a()Lcom/baidu/as;

    move-result-object v0

    iget-object v1, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    invoke-virtual {v0, v1}, Lcom/baidu/as;->c(Lcom/baidu/bl;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    invoke-static {}, Lcom/baidu/as;->a()Lcom/baidu/as;

    move-result-object v1

    iget-object v2, p0, Lcom/baidu/AppActivity;->c:Lcom/baidu/App;

    invoke-virtual {v1, v2}, Lcom/baidu/as;->f(Lcom/baidu/bl;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/baidu/App;->a(Ljava/lang/String;)V

    :cond_0
    iget-object v0, p0, Lcom/baidu/AppActivity;->d:Landroid/os/Handler;

    new-instance v1, Lcom/baidu/aj;

    invoke-direct {v1, p0, p0}, Lcom/baidu/aj;-><init>(Lcom/baidu/AppActivity;Landroid/app/Activity;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method static synthetic e(Lcom/baidu/AppActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->h:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic f(Lcom/baidu/AppActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->i:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic g(Lcom/baidu/AppActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->n:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic h(Lcom/baidu/AppActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->k:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic i(Lcom/baidu/AppActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->j:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic j(Lcom/baidu/AppActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->m:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic k(Lcom/baidu/AppActivity;)Landroid/widget/HorizontalScrollView;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->o:Landroid/widget/HorizontalScrollView;

    return-object v0
.end method

.method static synthetic l(Lcom/baidu/AppActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->p:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic m(Lcom/baidu/AppActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->r:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic n(Lcom/baidu/AppActivity;)Landroid/app/ProgressDialog;
    .locals 1

    iget-object v0, p0, Lcom/baidu/AppActivity;->e:Landroid/app/ProgressDialog;

    return-object v0
.end method


# virtual methods
.method public onCreate(Landroid/os/Bundle;)V
    .locals 10

    const/4 v9, -0x2

    const/4 v8, 0x1

    const/4 v7, -0x1

    const/4 v6, 0x0

    const/16 v5, 0x11

    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    sget-object v0, Lcom/baidu/AppActivity;->a:Ljava/lang/String;

    const-string v1, "onCreate"

    invoke-static {v0, v1}, Lcom/baidu/bk;->b(Ljava/lang/String;Ljava/lang/String;)I

    invoke-virtual {p0}, Lcom/baidu/AppActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    sget-object v1, Lcom/baidu/AppActivity;->s:Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0, v1}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {p0, v8}, Lcom/baidu/AppActivity;->setRequestedOrientation(I)V

    const-string v0, "\u6b63\u5728\u8fde\u63a5\u670d\u52a1\u5668"

    const-string v1, "\u8fde\u63a5\u4e2d,\u8bf7\u7a0d\u540e.."

    invoke-static {p0, v0, v1, v8, v8}, Landroid/app/ProgressDialog;->show(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZ)Landroid/app/ProgressDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/baidu/AppActivity;->e:Landroid/app/ProgressDialog;

    sget-object v0, Lcom/baidu/AppActivity;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    const/16 v1, 0x14

    if-le v0, v1, :cond_0

    sget-object v0, Lcom/baidu/AppActivity;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    :cond_0
    new-instance v0, Landroid/widget/ScrollView;

    invoke-direct {v0, p0}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/baidu/AppActivity;->g:Landroid/widget/ScrollView;

    invoke-direct {p0, v8}, Lcom/baidu/AppActivity;->b(Z)V

    new-instance v0, Landroid/widget/LinearLayout;

    invoke-direct {v0, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v8}, Landroid/widget/LinearLayout;->setOrientation(I)V

    invoke-virtual {v0, v8}, Landroid/widget/LinearLayout;->setGravity(I)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->g:Landroid/widget/ScrollView;

    invoke-virtual {v1, v0}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    sget-object v3, Lcom/baidu/AppActivity;->t:Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v3}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v3

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v3

    invoke-direct {v2, v7, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    sget-object v2, Lcom/baidu/AppActivity;->t:Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/LinearLayout;

    invoke-direct {v1, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v7, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v1, v5, v6, v5, v5}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/ImageView;

    invoke-direct {v2, p0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/baidu/AppActivity;->l:Landroid/widget/ImageView;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v3, 0x5e

    const/16 v4, 0x5e

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v3, p0, Lcom/baidu/AppActivity;->l:Landroid/widget/ImageView;

    invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/baidu/AppActivity;->l:Landroid/widget/ImageView;

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/LinearLayout;

    invoke-direct {v2, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v9, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v3, v5, v6, v6, v6}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v2, v8}, Landroid/widget/LinearLayout;->setOrientation(I)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/baidu/AppActivity;->h:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/baidu/AppActivity;->h:Landroid/widget/TextView;

    const/high16 v3, 0x41b0

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->h:Landroid/widget/TextView;

    const/4 v3, 0x0

    const v4, 0x3f8ccccd

    invoke-virtual {v1, v3, v4}, Landroid/widget/TextView;->setLineSpacing(FF)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->h:Landroid/widget/TextView;

    const/high16 v3, -0x100

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->h:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/LinearLayout;

    invoke-direct {v1, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v3, Landroid/widget/TextView;

    invoke-direct {v3, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/baidu/AppActivity;->i:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/baidu/AppActivity;->i:Landroid/widget/TextView;

    const/high16 v4, 0x4150

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v3, p0, Lcom/baidu/AppActivity;->i:Landroid/widget/TextView;

    invoke-virtual {v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v3, Landroid/widget/TextView;

    invoke-direct {v3, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/baidu/AppActivity;->j:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/baidu/AppActivity;->j:Landroid/widget/TextView;

    const/high16 v4, 0x4150

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v3, p0, Lcom/baidu/AppActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/LinearLayout;

    invoke-direct {v1, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    const-string v3, "\u514d\u8d39"

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v3, -0xb0793a

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    const/high16 v3, 0x4190

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextSize(F)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/Button;

    invoke-direct {v2, p0}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/baidu/AppActivity;->m:Landroid/widget/Button;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v3, 0x69

    const/16 v4, 0x2d

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v5, v6, v6, v6}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v3, p0, Lcom/baidu/AppActivity;->m:Landroid/widget/Button;

    invoke-virtual {v3, v2}, Landroid/widget/Button;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/baidu/AppActivity;->m:Landroid/widget/Button;

    const/high16 v3, 0x4190

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setTextSize(F)V

    iget-object v2, p0, Lcom/baidu/AppActivity;->m:Landroid/widget/Button;

    invoke-virtual {v2, v6, v6, v6, v6}, Landroid/widget/Button;->setPadding(IIII)V

    iget-object v2, p0, Lcom/baidu/AppActivity;->m:Landroid/widget/Button;

    invoke-virtual {v2, v5}, Landroid/widget/Button;->setGravity(I)V

    iget-object v2, p0, Lcom/baidu/AppActivity;->m:Landroid/widget/Button;

    const-string v3, "\u5b89 \u88c5"

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, p0, Lcom/baidu/AppActivity;->m:Landroid/widget/Button;

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    sget-object v3, Lcom/baidu/AppActivity;->u:Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v3}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v3

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v3

    invoke-direct {v2, v7, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    sget-object v2, Lcom/baidu/AppActivity;->u:Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v1, v5, v6, v6, v6}, Landroid/widget/TextView;->setPadding(IIII)V

    const-string v2, "\u7b80\u4ecb"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/high16 v2, 0x4180

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextSize(F)V

    invoke-virtual {v1, v7}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/ScrollView;

    invoke-direct {v1, p0}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v3, 0x96

    invoke-direct {v2, v7, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Landroid/widget/ScrollView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v1, v5, v5, v5, v6}, Landroid/widget/ScrollView;->setPadding(IIII)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/baidu/AppActivity;->n:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/baidu/AppActivity;->n:Landroid/widget/TextView;

    const v3, -0xb8b8b9

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v2, p0, Lcom/baidu/AppActivity;->n:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/HorizontalScrollView;

    invoke-direct {v1, p0}, Landroid/widget/HorizontalScrollView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/baidu/AppActivity;->o:Landroid/widget/HorizontalScrollView;

    iget-object v1, p0, Lcom/baidu/AppActivity;->o:Landroid/widget/HorizontalScrollView;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/HorizontalScrollView;->setVisibility(I)V

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v1, v7, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/baidu/AppActivity;->o:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v2, v1}, Landroid/widget/HorizontalScrollView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->o:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v1, v5, v5, v5, v5}, Landroid/widget/HorizontalScrollView;->setPadding(IIII)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->o:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/LinearLayout;

    invoke-direct {v1, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/baidu/AppActivity;->p:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/baidu/AppActivity;->p:Landroid/widget/LinearLayout;

    new-instance v2, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v2, v9, v9}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v6}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->o:Landroid/widget/HorizontalScrollView;

    iget-object v2, p0, Lcom/baidu/AppActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v2}, Landroid/widget/HorizontalScrollView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v7, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const v2, -0x141415

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setBackgroundColor(I)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/baidu/AppActivity;->k:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/baidu/AppActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v1, v5, v5, v5, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->k:Landroid/widget/TextView;

    const v2, -0xb8b8b9

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->k:Landroid/widget/TextView;

    const/high16 v2, 0x4150

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->k:Landroid/widget/TextView;

    const/4 v2, 0x0

    const v3, 0x3f99999a

    invoke-virtual {v1, v2, v3}, Landroid/widget/TextView;->setLineSpacing(FF)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/LinearLayout;

    invoke-direct {v0, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/baidu/AppActivity;->q:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/baidu/AppActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v8}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v0, p0, Lcom/baidu/AppActivity;->q:Landroid/widget/LinearLayout;

    new-instance v1, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v1, v7, v7}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Landroid/widget/ImageView;

    invoke-direct {v0, p0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/baidu/AppActivity;->r:Landroid/widget/ImageView;

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, v9, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/baidu/AppActivity;->r:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/baidu/AppActivity;->q:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/baidu/AppActivity;->r:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    invoke-direct {p0}, Lcom/baidu/AppActivity;->c()V

    return-void
.end method

.method protected onDestroy()V
    .locals 2

    sget-object v0, Lcom/baidu/AppActivity;->a:Ljava/lang/String;

    const-string v1, "onDestroy"

    invoke-static {v0, v1}, Lcom/baidu/bk;->b(Ljava/lang/String;Ljava/lang/String;)I

    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2

    const/4 v1, 0x1

    const/4 v0, 0x4

    if-ne p1, v0, :cond_1

    invoke-direct {p0}, Lcom/baidu/AppActivity;->b()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-direct {p0, v1}, Lcom/baidu/AppActivity;->b(Z)V

    move v0, v1

    :goto_0
    return v0

    :cond_0
    invoke-super {p0, p1, p2}, Landroid/app/Activity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0

    :cond_1
    invoke-super {p0, p1, p2}, Landroid/app/Activity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method protected onPause()V
    .locals 2

    sget-object v0, Lcom/baidu/AppActivity;->a:Ljava/lang/String;

    const-string v1, "onPause"

    invoke-static {v0, v1}, Lcom/baidu/bk;->b(Ljava/lang/String;Ljava/lang/String;)I

    invoke-super {p0}, Landroid/app/Activity;->onPause()V

    return-void
.end method

.method protected onRestart()V
    .locals 2

    invoke-super {p0}, Landroid/app/Activity;->onRestart()V

    sget-object v0, Lcom/baidu/AppActivity;->a:Ljava/lang/String;

    const-string v1, "onRestart"

    invoke-static {v0, v1}, Lcom/baidu/bk;->b(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method

.method protected onResume()V
    .locals 2

    invoke-super {p0}, Landroid/app/Activity;->onResume()V

    invoke-direct {p0}, Lcom/baidu/AppActivity;->d()V

    sget-object v0, Lcom/baidu/AppActivity;->a:Ljava/lang/String;

    const-string v1, "onResume"

    invoke-static {v0, v1}, Lcom/baidu/bk;->b(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method

.method protected onStart()V
    .locals 2

    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    sget-object v0, Lcom/baidu/AppActivity;->a:Ljava/lang/String;

    const-string v1, "onStart"

    invoke-static {v0, v1}, Lcom/baidu/bk;->b(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method

.method protected onStop()V
    .locals 2

    sget-object v0, Lcom/baidu/AppActivity;->a:Ljava/lang/String;

    const-string v1, "onStop"

    invoke-static {v0, v1}, Lcom/baidu/bk;->b(Ljava/lang/String;Ljava/lang/String;)I

    invoke-super {p0}, Landroid/app/Activity;->onStop()V

    return-void
.end method
